package M807;

import java.util.Scanner;
//第八题
public class M80708 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        int m=0;
        int i=1;
        do{
            System.out.println("请输入第"+i+"个数");
            int num=in.nextInt();
            if(num>=m){
                m=num;
            }
            i++;
        }while (i<=10);
        System.out.println(m);
    }
}
